import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('./views/Home.vue')
    },
    {
      path: '/explain',
      name: 'explain',
      component: () => import('./views/explain.vue')
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('./views/login.vue')
    },
    {
      path: '/register',
      name: 'register',
      component: () => import('./views/register.vue')
    },
    {
      path: '/transfer',
      name: 'transfer',
      component: () => import('./views/transfer.vue')
    },
    {
      path: '/bill',
      name: 'bill',
      component: () => import('./views/bill.vue')
    }
  ]
})
